FROM ubuntu

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
    apt-get install -y tzdata language-pack-zh-hant language-pack-zh-hans curl less && \
    ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime &&  \
    dpkg-reconfigure --frontend noninteractive tzdata && \
    apt-get clean

ADD jdk-8u171-linux-x64.tar.gz /usr/local

ENV LANG="zh_CN.UTF-8"
ENV LANGUAGE="zh_CN:zh:en_US:en"

ENV JAVA_HOME=/usr/local/jdk1.8.0_171
ENV PATH=${JAVA_HOME}/bin:${PATH}




